<!DOCTYPE html>
<html>
  <head>
    <title>QUnit Test Suite</title>
    <link rel="stylesheet" type="text/css" media="screen" href="qunit-git.css"/>
    <script type="text/javascript" src="qunit.js"> </script>

    <!-- Your project file goes here -->
    <script type="text/javascript" src="sgp4.js">  </script>
    <script type="text/javascript" src="gstime.js">  </script>
    <script type="text/javascript" src="initl.js">  </script>
    <script type="text/javascript" src="sgp4init.js">  </script>
    <script type="text/javascript" src="jday.js">  </script>
    <script type="text/javascript" src="days2mdh.js">  </script>
    <script type="text/javascript" src="getgravc.js">  </script>
    <script type="text/javascript" src="dscom.js">  </script>
    <script type="text/javascript" src="dpper.js">  </script>
    <script type="text/javascript" src="dsinit.js">  </script>
    <script type="text/javascript" src="dspace.js">  </script>
    <script type="text/javascript" src="test_utils.js">  </script> <!-- for isequalRel, assert, isequal -->
    <!-- Your tests file goes here -->
    <script type="text/javascript" src="testmat_test.js"> </script>

  </head>
  <body>
    <div id=""/>


    <h1 id="qunit-header">QUnit Test Suite</h1>
    <h2 id="qunit-banner"></h2>
    <div id="qunit-testrunner-toolbar"></div>
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>




    <script> <!-- must be after element is defined and loaded above -->
// Users selects TLE file from disk
// Based on http://www.html5rocks.com/en/tutorials/file/dndfiles/
// TODO: get only one file, not a list, don't loop.

function handleFileSelect(evt) {
    var files = evt.target.files; // FileList object

    for (var i = 0, f; f = files[i]; i++) {
        var reader = new FileReader();
        // Closure to capture the file info
        reader.onload = (function (theFile) { // theFile is unused(?)
            return function (e) {
                document.getElementById('tle-lines').value = e.target.result;
            };
        })(f);
        reader.readAsText(f);   // Read in the file as text
    }                           // for file...
}                               // function
document.getElementById('infilename').addEventListener('change', handleFileSelect, false);
</script>
    <script type="text/javascript" src="testmat.js"> </script>

  </body>
</html>
